package cn.zhangbo.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.zhangbo.dao.po.Student;
import cn.zhangbo.dao.po.Teacher;

public interface TeacherMapper extends JpaRepository<Teacher, Long> {
    Teacher findById(Long id);

    List<Teacher> findByName(String name);
}
